projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192bb75
)
keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build
author
Vignesh R
<
[email protected]
>
Wed, 6 Jul 2016 04:28:57 +0000
(09:58 +0530)
committer
Jagan Teki
<
[email protected]
>
Sat, 9 Jul 2016 14:46:30 +0000
(20:16 +0530)
Since Keystone2 devices do not have support DM in SPL, do not define
DM_SPI and DM_SPI_FLASH for SPL build.
Signed-off-by: Vignesh R <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
Reviewed-by: Jagan Teki <
[email protected]
>
include/configs/ti_armv7_keystone2.h
patch
|
blob
|
history
diff --git
a/include/configs/ti_armv7_keystone2.h
b/include/configs/ti_armv7_keystone2.h
index 2ee26c40367077d67d88d717ea6b232358c48f9a..4aa262e1a8710dec3fb6f9812da431deff5864ab 100644
(file)
--- a/
include/configs/ti_armv7_keystone2.h
+++ b/
include/configs/ti_armv7_keystone2.h
@@
-89,6
+89,10
@@
#define CONFIG_SYS_SPI2
#define CONFIG_SYS_SPI2_BASE KS2_SPI2_BASE
#define CONFIG_SYS_SPI2_NUM_CS 4
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
+#endif
/* Network Configuration */
#define CONFIG_PHYLIB